- sessionProxy
- The IDicomCommandClientSessionProxy object which will be used to handle the communication with the client.
- attributes
- The list of attributes which is received with the client request.
Visual Basic (Declaration) | |
---|---|
Overloads Public Overridable Function CreateTypedCommand(Of T As DicomCommand)( _ ByVal sessionProxy As IDicomCommandClientSessionProxy, _ ByVal attributes() As Long _ ) As T |
Visual Basic (Usage) | Copy Code |
---|---|
Dim instance As DicomCommandFactory Dim sessionProxy As IDicomCommandClientSessionProxy Dim attributes() As Long Dim value As T value = instance.CreateTypedCommand(Of T)(sessionProxy, attributes) |
C# | |
---|---|
public virtual T CreateTypedCommand<T>( IDicomCommandClientSessionProxy sessionProxy, long[] attributes )where T: DicomCommand |
C++/CLI | |
---|---|
public: virtual T^ CreateTypedCommandgeneric<typename T> ( IDicomCommandClientSessionProxy^ sessionProxy, array<int64>^ attributes ) where T: DicomCommand |
Parameters
- sessionProxy
- The IDicomCommandClientSessionProxy object which will be used to handle the communication with the client.
- attributes
- The list of attributes which is received with the client request.
Type Parameters
- T
- The type of the returned Leadtools.Dicom.Scp.Command.DicomCommand. This type should be inherited from a Leadtools.Dicom.Scp.Command.DicomCommand.
Return Value
Returns the created Leadtools.Dicom.Scp.Command.DicomCommand.This method will try to create a Leadtools.Dicom.Scp.Command.DicomCommand with the given generic type. It will also pass the provided sessionProxy and requestDataSet to the command constructor.
If the method fails to create the command it will throw an exception.
Target Platforms: Microsoft .NET Framework 2.0, Windows 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7